package com.vanke.devops.domain.domain.docker.dto;

import lombok.Getter;
import lombok.Setter;

import java.util.Date;
import java.util.List;

/**
 * @author 陈景阳
 * @since 2018/6/7
 */
@Getter
@Setter
public class ServiceDTO {

    private String id;

    private String name;

    private String image;

    private List<Port> ports;

    private Date lastUpdate;

    private Date created;

    private Integer replicas;

    private Integer version;

    private String schedulingMode;

    @Getter
    @Setter
    public class Port {
        private Integer targetPort;
        private Integer publishPort;
    }
}
